home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / dvtools / demos / telecomdemo / makefile < prev    next >
Makefile  |  1997-05-08  |  924b  |  36 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. include <dvwin32.mak>
  4.  
  5. # Comment out the next line to disable double buffering.
  6. CFLAGS = $(CFLAGS) -DDOUBLE_BUFFER
  7.  
  8. TELEOBJ =   control.obj     dialog.obj      do_simul.obj  \
  9.             fixbox.obj      glob_vars.obj   main.obj      \
  10.             move_win.obj    msg_log.obj     sim_setup.obj  \
  11.             sim_util.obj    smallmap.obj    status.obj    \
  12.             subviews.obj
  13.  
  14. RESSRC  = teledemo.rc
  15. !IF "$(CPU)"=="ALPHA"
  16. RESOURCE_OBJS = teledemor.obj
  17. !ELSE
  18. RESOURCE_OBJS = teledemo.res
  19. !ENDIF
  20.  
  21.  
  22. telecomdemo.exe: $(TELEOBJ) $(RESOURCE_OBJS)
  23.     $(LINK)  $(LINKFLAGS) \
  24.         $(DV_LIBS) \
  25.         $(TELEOBJ) $(RESOURCE_OBJS) -out:telecomdemo.exe
  26.  
  27. .c.obj:
  28.     $(CC) $(INCDIRS) $(CFLAGS) $<
  29.  
  30. teledemo.res: $(RESSRC)
  31.         rc -r $(RESSRC)
  32.  
  33. teledemor.obj : $(RESSRC)
  34.         rc -r teledemo.rc
  35.                 cvtres -alpha teledemo.res -o teledemor.obj 
  36.